﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;

public partial class Movies : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            
        }
         
    }
    
   
    #region ClickHandleri
    protected void lbComedy_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre="+ MovieConfig.GenreComedy.ToString());
    }
    protected void lbAction_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreAction.ToString());
    }
    protected void lbAnimation_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreAnimation.ToString());
    }
    protected void lbThriller_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreThriller.ToString());
    }
    protected void lbRomance_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreRomance.ToString());
    }
    protected void lbDrama_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreDrama.ToString());
    }
    protected void lbSciFi_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreSciFi.ToString());
    }
    protected void lbHorror_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreHorror.ToString());
    }
    protected void lbMistery_Click(object sender, EventArgs e)
    {
        Response.Redirect("MoviesPage.aspx?genre=" + MovieConfig.GenreMistery.ToString());
    }
    #endregion
}
